<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
	<body>
	<h:graphicImage value="/imagens/logo.jpg" />
	<f:view>
	<h:form>
		<rich:modalPanel id="panelMsg" autosized="true" width="300" showWhenRendered="true">
			<f:facet name="header">
		        <h:panelGroup>
		        	<h:outputText value="Sitran Mensagens"></h:outputText>
		        </h:panelGroup>
		    </f:facet>
			<h:panelGrid columns="2">	
				<h:messages id="error1" layout="list" showDetail="true" showSummary="false" styleClass="message" errorClass="mensagemErro" />
				<h:graphicImage value="/imagens/msg.gif" />
				<a4j:commandButton action="#{geralMB.retornar}" value="Retornar"/>
			</h:panelGrid>
		</rich:modalPanel>	
	</h:form>
	</f:view>
	</body>
</html>